<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sqren')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sqren" data-rule="required" class="form-control" name="row[sqren]" type="text" value="{$row.sqren|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Feiyong')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-feiyong" data-rule="required" class="form-control" step="0.01" name="row[feiyong]" type="number" value="{$row.feiyong|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jsren')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jsren" data-rule="required" class="form-control" name="row[jsren]" type="text" value="{$row.jsren|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shuoming')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shuoming" class="form-control" name="row[shuoming]" type="text" value="{$row.shuoming|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sqtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sqtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[sqtime]" type="text" value="{:$row.sqtime?datetime($row.sqtime):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Addtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-addtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[addtime]" type="text" value="{:$row.addtime?datetime($row.addtime):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tongyi')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-tongyi" class="form-control selectpicker" name="row[tongyi]">
                {foreach name="tongyiList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.tongyi"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
